import dayjs from "dayjs";

export const formatDate = (d,split = "YYYY-MM-DD") => {
    if(!d){
        return "";
    }else{
        return dayjs(d).format(split);
    }
}